From: Shannon Zhao Date: Mon, 29 Feb 2016 15:04:41 +0000 (+0100) Subject: arm/acpi: define a enum for reserved tables X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1644 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5ed0a0e2e2e26527915871f9c8bbd3d6af3e5403;p=xen.git arm/acpi: define a enum for reserved tables It needs to copy and change the contents of some ACPI and EFI tables for Dom0. Here define a enum for those tables. Signed-off-by: Parth Dixit Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini --- diff --git a/xen/include/asm-arm/acpi.h b/xen/include/asm-arm/acpi.h index 10e02bd790..9849edf290 100644 --- a/xen/include/asm-arm/acpi.h +++ b/xen/include/asm-arm/acpi.h @@ -30,6 +30,18 @@ #define COMPILER_DEPENDENT_UINT64 unsigned long long #define ACPI_MAP_MEM_ATTR PAGE_HYPERVISOR +/* Tables marked as reserved in efi table */ +typedef enum { + TBL_FADT, + TBL_MADT, + TBL_STAO, + TBL_XSDT, + TBL_RSDP, + TBL_EFIT, + TBL_MMAP, + TBL_MMAX, +} EFI_MEM_RES; + #ifdef CONFIG_ACPI extern bool_t acpi_disabled; /* Basic configuration for ACPI */